package cn.wolfcode.crm.util;

import java.util.UUID;

public class UUIDUtil {
    //获取UUID
    public static String getUUID() {
        UUID uuid =UUID.randomUUID();
        String str = uuid.toString();
        String temp = str.substring(0, 15);
        // 去掉"-"符号
        return temp.replaceAll("\\-", "x");
    }
}
